package com.baidu.user.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baidu.pojo.App;
import com.baidu.pojo.Pic;
import com.baidu.user.mapper.AppMapper;
import com.baidu.user.mapper.PicMapper;

@Service
public class AppService {

	
	@Autowired
	private AppMapper appMapper;
	@Autowired
	private PicMapper picMapper;
	
	

			public void insertSelective(App app) {
				appMapper.insertSelective(app);				
			}
		
			public void insertSelective(Pic pic) {
				picMapper.insertSelective(pic);
			}

			public List<App> findAll() {
				return appMapper.findAll();
			}

}
